package com.zb.media.service.Impl;


import com.zb.media.mapper.WeServiceMapper;
import com.zb.media.service.WeServiceService;
import com.zb.model.pojo.wemedia.WmUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WeServiceServiceImpl implements WeServiceService {

    @Autowired
    private WeServiceMapper weServiceMapper;

    @Override
    public Integer save(WmUser wmUser) {
        return weServiceMapper.save(wmUser);
    }

    @Override
    public WmUser findUserByName(String name) {
        return weServiceMapper.findUserByName(name);
    }
}
